//
//  SoundController.h
//  Staff
//
//  Created by steve on 14-12-23.
//
//

#import <UIKit/UIKit.h>

#import "SinVoicePlayer.h"
#import "SinVoiceRecognizer.h"

@interface SoundController : UIViewController {
@private
    SinVoicePlayer*     mSinVoicePlayer;
    SinVoiceRecognizer* mSinVoiceRecorder;
    
@public
    int mRates[100];
    int mPlayCount;
    int mResults[100];
    int mResultCount;
}

-(void)onPlayData:(SoundController*)data;
-(void)onRecogToken:(SoundController*)data;

@end
